package com.amat0urheu.pojo;


import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Team {



	@TableId
    private Integer tid;
    private String tname;

	public Integer getPeopleNum() {
		return peopleNum;
	}

	public void setPeopleNum(Integer peopleNum) {
		this.peopleNum = peopleNum;
	}

	private Integer tscore;
    private String tcaptain;
	private Integer rank;
	private Integer peopleNum;
	private List<String> member;

	public Integer getTid() {
		return tid;
	}

	public String getTcaptain() {
		return tcaptain;
	}

	public void setTcaptain(String tcaptain) {
		this.tcaptain = tcaptain;
	}

	public Integer getRank() {
		return rank;
	}

	public void setRank(Integer rank) {
		this.rank = rank;
	}

	public void setTid(Integer tid) {
		this.tid = tid;
	}

	public String getTname() {
		return tname;
	}

	public void setTname(String tname) {
		this.tname = tname;
	}

	public Integer getTscore() {
		return tscore;
	}

	public void setTscore(Integer tscore) {
		this.tscore = tscore;
	}

	public String getTcaption() {
		return tcaptain;
	}

	public void setTcaption(String tcaptain) {
		this.tcaptain = tcaptain;
	}

	@Override
	public String toString() {
		return "Team{" +
				"tid=" + tid +
				", tname='" + tname + '\'' +
				", tscore=" + tscore +
				", tcaptain='" + tcaptain + '\'' +
				", rank=" + rank +
				", peopleNum=" + peopleNum +
				'}';
	}
}
